package com.topisv.tms.entity.qimen;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.topisv.tms.entity.IdEntity;

/**
 * 发货单任务表
 * Date Author Version Description
 * ----------------------------------------------------------
 * 2015-5-8 CC 1.0 Create
 */
@Entity
@Table(name = "tt_delivery_order_task")
public class DeliveryOrderTask extends IdEntity {
    
    private static final long serialVersionUID = 1L;
    
    private String content;// 报文内容
    
    private String dealIp = "-";// 处理节点
    
    private String dealStatus;// 处理状态(0未处理 1已锁定 2已加载3处理失败 4处理成功) add 20161025:  6 --> 取消订单，不进行处理.
    
    private Date dealTime;// 处理时间
    
    private Integer dealCount;// 处理次数
    
    private String orderNo;// 能容订单号
    
    private Date crTime;
    
    private String warehouseCode = "-";//仓库编码
    
    private String customerCode = "-";//商家编码
    
    private String customerOrderNo = "-"; //客户订单号，取消订单时使用
    
    
	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public Date getCrTime() {
        return crTime;
    }
    
    public void setCrTime(Date crTime) {
        this.crTime = crTime;
    }
    
    public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    public String getDealIp() {
        return dealIp;
    }
    
    public void setDealIp(String dealIp) {
        this.dealIp = dealIp;
    }
    
    public String getDealStatus() {
        return dealStatus;
    }
    
    public void setDealStatus(String dealStatus) {
        this.dealStatus = dealStatus;
    }
    
    public Date getDealTime() {
        return dealTime;
    }
    
    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }
    
    public Integer getDealCount() {
        return dealCount;
    }
    
    public void setDealCount(Integer dealCount) {
        this.dealCount = dealCount;
    }
    
    public String getOrderNo() {
        return orderNo;
    }
    
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    
    public String getCustomerOrderNo() {
        return customerOrderNo;
    }

    
    public void setCustomerOrderNo(String customerOrderNo) {
        this.customerOrderNo = customerOrderNo;
    }
    
}
